package com.ruoyi.zhjd.laboratory.modules.laboratorymechanics.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.*;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
@TableName("n_laboratory_mechanics_all_powerful_machine")
public class LaboratoryMechanicsAllPowerfulMachineEntity {
	@NotBlank(groups = EditGroup.class, message = "标识不可为空")
	private String id ;
	private String sampleKey;
	private String deviceId;
	private String testId;
	private String tester;
	private String gczj;
	private String area;
	private String so;
	private String shape;
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createDate;
	private String creator;
	private String size;
	private String span;
	private String length;
	private String width;
	private String height;
	@TableField(value = "`do`")
	private String dos;
	private String zj;
}
